package com.vonchange.utils.jsp;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.TagSupport;

public abstract class ValueTag extends TagSupport {
	/**
	 *  
	 */
	private static final long serialVersionUID = -6643051404950274956L;
	public abstract void work(PageContext pageContext);
	@Override
    public int doStartTag() throws JspException {
		work(pageContext);
        return EVAL_BODY_INCLUDE;
    }

    @Override
    public int doEndTag() throws JspException {
        return EVAL_PAGE;
    }

    @Override
    public void release() {
        super.release();
    }

}
